Cross-chain interactions using a domain name scheme in blockchain systems

ABSTRACT

Implementations of the present disclosure include identifying, by a relay that is communicatively linked with a first blockchain instance and a second blockchain instance in a unified blockchain network, a blockchain domain name of a first blockchain instance; identifying a blockchain domain name of the second blockchain instance; receiving, from a node of the first blockchain instance, an access request for accessing the second blockchain instance, wherein the access request including the blockchain domain name of the second blockchain instance; identifying a chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance, wherein the chain identifier of the second blockchain instance indicates a blockchain network configuration of the second blockchain instance; and providing access to the second blockchain instance for the first blockchain instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain instance.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 16/390,390, filed on Apr. 22, 2019, which is a continuation of PCT Application No. PCT/CN2018/115926, filed on Nov. 16, 2018. Each application is hereby incorporated by reference in its entirety.

BACKGROUND

Distributed ledger systems (DLSs), which can also be referred to as consensus networks, and/or blockchain networks, enable participating entities to securely, and immutably store data. DLSs are commonly referred to as blockchain networks without referencing any particular user case (e.g., crypto-currencies). Example types of blockchain networks can include public blockchain networks, private blockchain networks, and consortium blockchain networks. A public blockchain network is open for all entities to use the DLS, and participate in the consensus process. A private blockchain network is provided for particular entity, which centrally controls read and write permissions. A consortium blockchain network is provided for a select group of entities, which control the consensus process, and includes an access control layer.

Blockchains are used in crypto-currency networks, which enable participants to conduct transactions to buy/sell goods, and/or services using a crypto-currency. A common crypto-currency includes Bitcoin. In crypto-currency networks, record-keeping models are used to record transactions between users. Example record-keeping models include an unspent transaction output (UTXO) model, and account model (also referred to as account-based model or account/balance model).

SUMMARY

Implementations of the present disclosure include computer-implemented methods for a domain name scheme for blockchain systems. More particularly, implementations of the present disclosure are directed to cross-chain interactions using a unified domain name scheme in blockchain systems.

In some implementations, actions include identifying, by a relay that is communicatively linked with a first blockchain instance and a second blockchain instance in a unified blockchain network, a blockchain domain name of a first blockchain instance, wherein the blockchain domain name of the second blockchain instance is a unique identifier of the second blockchain instance and uniquely corresponds to a chain identifier of the second blockchain instance in the unified blockchain network; identifying a blockchain domain name of the second blockchain instance, wherein the blockchain domain name of the first blockchain instance is a unique identifier of the first blockchain instance and uniquely corresponds to a chain identifier of the first blockchain instance in the unified blockchain network; receiving, from a node of the first blockchain instance, an access request for accessing the second blockchain instance, wherein the access request including the blockchain domain name of the second blockchain instance; identifying the chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance, wherein the chain identifier of the second blockchain instance indicates a blockchain network configuration of the second blockchain instance; and providing access to the second blockchain instance for the first blockchain instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain instance.

Other implementations include corresponding systems, apparatus, and computer programs, configured to perform the actions of the methods encoded on computer storage devices.

These and other implementations may each optionally include one or more of the following features:

A first feature, combinable with any of the following features, wherein identifying a blockchain domain name of the first blockchain instance includes using the blockchain domain name of the first blockchain instance as a local identifier of the first blockchain instance; and

wherein identifying a blockchain domain name of the second blockchain instance includes using the blockchain domain name of the second blockchain instance as a local identifier of the second blockchain instance.

A second feature, combinable with any of the following features, wherein identifying the chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance includes identifying the chain identifier of the second blockchain instance according to look-up information locally stored at the relay based on the blockchain domain name.

A third feature, combinable with any of the following features, wherein identifying the chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance includes identifying the chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance from a remote unified blockchain domain name server.

A fourth feature, combinable with any of the following features, wherein providing, by the relay, access to the second blockchain instance for the first blockchain instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain instance includes providing, by the relay, access to the second blockchain instance for the first blockchain instance via a second relay; wherein the blockchain network configuration indicated by the chain identifier of the second blockchain instance is identified by the second relay based on the same chain identifier of the second blockchain instance; and wherein the second blockchain instance is accessed by the second relay based on the blockchain network configuration indicated by the chain identifier of the second blockchain instance.

A fifth feature, combinable with any of the following features, wherein the blockchain network configuration indicated by the chain identifier of the second blockchain instance is identified by the second relay according to look-up information locally stored at the second relay based on the same chain identifier of the second blockchain instance.

A sixth feature, combinable with any of the following features, wherein the blockchain network configuration indicated by the chain identifier of the second blockchain instance is identified by the second relay based on the blockchain domain name of the second blockchain instance from a remote unified blockchain domain name server.

A seventh feature, combinable with any of the following features, wherein the blockchain domain name of the first blockchain instance includes a first human-readable label; and the blockchain domain name of the second blockchain instance includes a second human-readable label.

The present disclosure also provides one or more non-transitory computer-readable storage media coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations in accordance with implementations of the methods provided herein.

The present disclosure further provides a system for implementing the methods provided herein. The system includes one or more processors, and a computer-readable storage medium coupled to the one or more processors having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations in accordance with implementations of the methods provided herein.

It is appreciated that methods in accordance with the present disclosure may include any combination of the aspects and features described herein. That is, methods in accordance with the present disclosure are not limited to the combinations of aspects and features specifically described herein, but also include any combination of the aspects and features provided.

The details of one or more implementations of the present disclosure are set forth in the accompanying drawings and the description below. Other features and advantages of the present disclosure will be apparent from the description and drawings, and from the claims.

DESCRIPTION OF DRAWINGS

FIG. 1 depicts an example environment that can be used to execute implementations of the present disclosure.

FIG. 2 depicts an example conceptual architecture in accordance with implementations of the present disclosure.

FIG. 3 depicts an example unified blockchain domain name (UBCDN) of a blockchain instance, in accordance with implementations of the present disclosure.

FIG. 4 depicts an example UBCDN management scheme in a unified blockchain network, in accordance with implementations of the present disclosure.

FIG. 5 depicts an example process for using a blockchain domain name of a blockchain instance for cross-chain interactions in a unified blockchain network, in accordance with implementations of the present disclosure.

FIG. 6 depicts an example process for authenticating a UBCDN of a blockchain instance, in accordance with implementations of the present disclosure.

FIG. 7 depicts an example process of an owner of a UBCDN of a blockchain instance (a UBCDN owner), in accordance with implementations of the present disclosure.

FIG. 8 depicts an example process of a relay for cross-chain interactions in a unified blockchain network, in accordance with implementations of the present disclosure.

Like reference symbols in the various drawings indicate like elements.

DETAILED DESCRIPTION

Implementations of the present disclosure include computer-implemented methods for a domain name scheme for blockchain systems. More particularly, implementations of the present disclosure are directed to cross-chain interactions using a unified domain name scheme in blockchain systems.

In some implementations, actions include identifying, by a relay that is communicatively linked with a first blockchain instance and a second blockchain instance in a unified blockchain network, a blockchain domain name of a first blockchain instance, wherein the blockchain domain name of the second blockchain instance is a unique identifier of the second blockchain instance and uniquely corresponds to a chain identifier of the second blockchain instance in the unified blockchain network; identifying a blockchain domain name of the second blockchain instance, wherein the blockchain domain name of the first blockchain instance is a unique identifier of the first blockchain instance and uniquely corresponds to a chain identifier of the first blockchain instance in the unified blockchain network; receiving, from a node of the first blockchain instance, an access request for accessing the second blockchain instance, wherein the access request including the blockchain domain name of the second blockchain instance; identifying the chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance, wherein the chain identifier of the second blockchain instance indicates a blockchain network configuration of the second blockchain instance; and providing access to the second blockchain instance for the first blockchain instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain instance.

To provide further context for implementations of the present disclosure and, as introduced above, distributed ledger systems (DLSs), which can also be referred to as consensus networks (e.g., made up of peer-to-peer nodes), and blockchain networks, enable participating entities to securely, and immutably conduct transactions, and store data. Although the term blockchain is generally associated with the Bitcoin crypto-currency network, blockchain is used herein to generally refer to a DLS without reference to any particular use case. As introduced above, a blockchain network can be provided as a public blockchain network, a private blockchain network, or a consortium blockchain network.

In a public blockchain network, the consensus process is controlled by nodes of the consensus network. For example, hundreds, thousands, even millions of entities can cooperate a public blockchain network, each of which operates at least one node in the public blockchain network. Accordingly, the public blockchain network can be considered a public network with respect to the participating entities. In some examples, a majority of entities (nodes) must sign every block in order for the block to be valid, and added to the blockchain (distributed ledger) of the blockchain network. An example public blockchain network includes the Bitcoin network, which is a peer-to-peer payment network. The Bitcoin network leverages a distributed ledger, referred to as blockchain. As noted above, the term blockchain, however, is used to generally refer to distributed ledgers without particular reference to the Bitcoin network.

In general, a public blockchain network supports public transactions. A public transaction is shared with all of the nodes within the public blockchain network, and is stored in a global blockchain. A global blockchain is a blockchain that is replicated across all nodes. That is, all nodes are in perfect state consensus with respect to the global blockchain. To achieve consensus (e.g., agreement to the addition of a block to a blockchain), a consensus protocol is implemented within the public blockchain network. An example consensus protocol includes, without limitation, proof-of-work (POW) implemented in the Bitcoin network.

In general, a private blockchain network is provided for a particular entity, which centrally controls read and write permissions. The entity controls, which nodes are able to participate in the blockchain network. Consequently, private blockchain networks are generally referred to as permissioned networks that place restrictions on who is allowed to participate in the network, and on their level of participation (e.g., only in certain transactions). Various types of access control mechanisms can be used (e.g., existing participants vote on adding new entities, a regulatory authority can control admission).

In general, a consortium blockchain network is private among the participating entities. In a consortium blockchain network, the consensus process is controlled by an authorized set of nodes, one or more nodes being operated by a respective entity (e.g., a financial institution, insurance company). For example, a consortium of ten (10) entities (e.g., financial institutions, insurance companies) can operate a consortium blockchain network, each of which operates at least one node in the consortium blockchain network. Accordingly, the consortium blockchain network can be considered a private network with respect to the participating entities. In some examples, each entity (node) must sign every block in order for the block to be valid, and added to the blockchain. In some examples, at least a sub-set of entities (nodes) (e.g., at least 7 entities) must sign every block in order for the block to be valid, and added to the blockchain.

Implementations of the present disclosure are described in further detail herein with reference to a consortium blockchain network. It is contemplated, however, that implementations of the present disclosure can be realized in any appropriate type of blockchain network.

Implementations of the present disclosure are described in further detail herein in view of the above context. More particularly, and as introduced above, implementations of the present disclosure are directed to a domain name scheme for cross-chain interactions in blockchain systems.

Various blockchain platforms, environments, or products have been developed based on different blockchain technologies. Example blockchain products include Ethereum and Bitcoin. The current blockchain network includes multiple blockchain instances deployed based on the different blockchain products. For example, the current blockchain network includes various blockchain instances such as public blockchains, private blockchains, or consortium blockchains that are developed based on Ethereum or Bitcoin technologies.

The current access mode of each blockchain instance requires access from a client node (also referred to as a client terminal) of the blockchain or its technical components such as SDKs. In order to accurately connect to a specific blockchain instance, the client needs to load its blockchain network configurations. These blockchain network configurations are typically hash, member certificates, etc. These configurations are unreadable to humans and it is difficult to identify which chains the configurations identify.

The present disclosure provides a domain name scheme for the blockchain network. Specifically, a unified blockchain domain name (UBCDN) is provided to serve as a unique identifier of each blockchain instance (also referred to as a blockchain network instance or a chain) in the blockchain network. A blockchain instance can be, for example, an implementation or deployment of a blockchain based on a blockchain platform or technology (e.g., Ethereum). Each UBCDN uniquely binds a domain name of a blockchain instance (also referred to as a blockchain domain name) with a corresponding network configuration of the blockchain instance (also referred to as a blockchain network configuration). In some implementations, the blockchain network configuration can be represented or indicated by a chain identifier. A client node of a blockchain instance can obtain a corresponding blockchain network configuration by parsing the UBCDN to identify the chain identifier. Based on the blockchain network configuration, the client node can link to, or otherwise access, to the specific blockchain instance.

The described domain name scheme can provide a unified protocol for interactions between blockchain systems in a unified (or global) blockchain network that includes multiple or all blockchain instances deployed, based on different blockchain products or technologies. All blockchain instances in the unified blockchain network follow the same domain name scheme and be assigned unique UBCDNs. In some implementations, each blockchain instance in the unified blockchain network is assigned a single UBCDN that can be recognized by all the blockchain instances in the unified blockchain network, regardless of different platforms, technologies, or relays that are used in the unified blockchain network. In some implementations, the UBCDN defines a realm of administrative autonomy, authority or control of a blockchain instance within the unified blockchain network. In some implementations, the unified blockchain network can be regarded as a counterpart of the Internet in the IP network, while the UBCDN can be regarded as a mapping of a domain name of an IP resource in the IP network with an IP address of the IP resource.

Each blockchain instance in the unified blockchain network can be uniquely identified by a corresponding UBCDN so as to facilitate multi-chain or cross-chain communications. For example, unlike existing cross-chain implementations such as COSMOS, that uses a relay chain for cross-chain interactions, in which each blockchain is assigned an identifier (ID) within the relay chain network but the ID only has a local scope and cannot be reused in other relay chain networks, in the described domain name scheme, the UBCDN can be used and is recognizable globally by all blockchain instances in the unified blockchain network, despite how many relay chains are included in the unified blockchain network.

Moreover, the described domain name scheme simplifies the identification or addressing protocol for cross-chain interactions in blockchain systems. For example, in the described domain name scheme, a single UBCDN is sufficient to uniquely identify a blockchain instance and is recognizable globally by all blockchain instances in the unified blockchain network for interactions among different blockchain networks, whereas in COSMOS a blockchain instance is assigned multiple different IDs when the blockchain instance joins multiple relay chains for the blockchain instance to interact with other blockchains.

Furthermore, the UBCDN can include a human-readable identifier or label, helping users to memorize and reach a blockchain instance easily, and thus promoting adoption or use of the blockchain instance. As an example, owners or operators of public blockchains, private blockchains, or consortium blockchains can choose blockchain domain names that correspond to their names, helping users to remember the identifiers of the blockchain instances, and further facilitating translation, resolution, or otherwise identification of the chain identifiers corresponding to the blockchain domain names, expediting cross-chain interactions in the unified blockchain network.

Besides providing easily recognizable and memorizable names to identify blockchain instances, the UBCDN allows a blockchain instance to keep its blockchain domain name even though the underlying network configuration of the blockchain instance is changed (for example, by system updating or moving or migrating to a different physical location in the address topology of the network). In the event of such a change or update, the chain identifier of the blockchain instance can be changed while the blockchain domain name can remain the same. The UBCDN owner can change the mapping of the blockchain domain name to the updated chain identifier and allow others (e.g., other blockchain instances or client nodes) to use the same blockchain domain name to address and access the blockchain instance.

FIG. 1 depicts an example environment 100 that can be used to execute implementations of the present disclosure. In some examples, the example environment 100 enables entities to participate in a consortium blockchain network 102. The example environment 100 includes computing devices or systems 106, 108, and a network 110. In some examples, the network 110 includes a local area network (LAN), wide area network (WAN), the Internet, or a combination thereof, and connects web sites, user devices (e.g., computing devices), and back-end systems. In some examples, the network 110 can be accessed over a wired and/or a wireless communications link.

In the depicted example, the computing systems 106, 108 can each include any appropriate computing system that enables participation as a node in the consortium blockchain network 102. Example computing devices include, without limitation, a server, a desktop computer, a laptop computer, a tablet computing device, and a smartphone. In some examples, the computing systems 106, 108 hosts one or more computer-implemented services for interacting with the consortium blockchain network 102. For example, the computing system 106 can host computer-implemented services of a first entity (e.g., user A), such as a transaction management system that the first entity uses to manage its transactions with one or more other entities (e.g., other users). The computing system 108 can host computer-implemented services of a second entity (e.g., user B), such as a transaction management system that the second entity uses to manage its transactions with one or more other entities (e.g., other users). In the example of FIG. 1, the consortium blockchain network 102 is represented as a peer-to-peer network of nodes, and the computing systems 106, 108 provide nodes of the first entity, and second entity respectively, which participate in the consortium blockchain network 102.

FIG. 2 depicts an example conceptual architecture 200 in accordance with implementations of the present disclosure. The example conceptual architecture 200 includes an entity layer 202, a hosted services layer 204, and a blockchain network layer 206. In the depicted example, the entity layer 202 includes three entities, Entity_1 (E1), Entity_2 (E2), and Entity_3 (E3), each entity having a respective transaction management system 208.

In the depicted example, the hosted services layer 204 includes interfaces 210 for each transaction management system 208. In some examples, a respective transaction management system 208 communicates with a respective interface 210 over a network (e.g., the network 110 of FIG. 1) using a protocol (e.g., hypertext transfer protocol secure (HTTPS)). In some examples, each interface 210 provides a communication connection between a respective transaction management system 208, and the blockchain network layer 206. More particularly, the interface 210 communicates with a blockchain network 212 of the blockchain network layer 206. In some examples, communication between an interface 210, and the blockchain network layer 206 is conducted using remote procedure calls (RPCs). In some examples, the interfaces 210 “host” blockchain network nodes for the respective transaction management systems 208. For example, the interfaces 210 provide the application programming interface (API) for access to blockchain network 212.

As described herein, the blockchain network 212 is provided as a peer-to-peer network including a number of nodes 214 that immutably record information in a blockchain 216. Although a single blockchain 216 is schematically depicted, multiple copies of the blockchain 216 are provided, and are maintained across the blockchain network 212. For example, each node 214 stores a copy of the blockchain. In some implementations, the blockchain 216 stores information associated with transactions that are performed between two or more entities participating in the consortium blockchain network.

FIG. 3 depicts an example unified blockchain domain name (UBCDN) 300 of a blockchain instance, in accordance with implementations of the present disclosure. The UBCDN 300 can include a blockchain domain name 310 and a corresponding chain identifier 320 of the blockchain instance. The blockchain domain name 310 can be human-readable label. The chain identifier 320 can indicate a blockchain network configuration of the blockchain instance and allow access to the blockchain instance based on the blockchain network configurations. In some implementations, the UBCDN 300 can include additional fields or be represented as a string or another data structure.

The blockchain domain name 310 can be user-friendly. For example, the blockchain domain name 310 can be a text-based label that is easier to memorize than the corresponding numerical chain identifier 320 (e.g., a 40 character hex address used in the Ethereum protocols. In some implementations, the blockchain domain name 310 can be represented as a string or another data structure.

In some implementations, the blockchain domain name 310 can have defined syntax to further facilitate understanding of the source, ownership, or organization of the underlying blockchain instance. For example, the blockchain domain name 310 can be designed in a similar manner to the domain name in the IP network. The blockchain domain name 310 can include one or more parts or labels. The one or more labels can be concatenated and have a hierarchy of domains descending from the right to the left label in the name. Each label to the left specifies a subdivision or subdomain of the domain to the right. For example, a blockchain domain name 310 of chain1. organization1 indicates that the underlying blockchain instance chain1 is a subdomain of the organization1 domain and belongs to the organization1. In some implementations, the blockchain domain name 310 can define additional or different syntax.

The chain identifier 320 can include an addressable identifier that is used to address and access the blockchain instance in the blockchain network. The chain identifier 320 can indicate a blockchain network configuration of the blockchain instance and allow access to the blockchain instance based on the blockchain network configurations. For example, multiple blockchain instances can be deployed based on Ethereum technology. The blockchain instance can be, for example, a mainnet chain, a testing chain, a private chain, or a consortium chain. An Ethereum client can establish a connection with an Ethereum blockchain instance by loading the genesis block (i.e., the first block) of the Ethereum blockchain instance. The genesis block is equivalent to a unique identifier of the Ethereum blockchain instance. Accordingly, in some implementations, one or more fields (e.g., a hash value) of the genesis block of an Ethereum blockchain instance can be extracted as the chain identifier 320 of the Ethereum blockchain instance. In some implementations, the chain identifier of a blockchain instance can include a hash value of a genesis block of the blockchain instance, as well as a network ID that identifies the blockchain instance. In some implementations, the network ID allows transactions on the blockchain instance to look different from those on other chains, for example, by signing transactions differently, depending on the network ID used. As such, the network ID indicates additional network configuration that can be used to link to or otherwise access the blockchain instance. The chain identifier 320 can include additional or different components or fields, for example, depending on the underlying blockchain technology or platform of the blockchain instance.

The UBCDN 300 creates a one-to-one mapping of the blockchain domain name 310 and its corresponding chain identifier 320 of the blockchain instance. Given the blockchain domain name 310, its corresponding chain identifier 320 can be translated, resolved, or otherwise identified, and vice versa. As such, a node can access the blockchain instance based on the blockchain network configuration indicated by the chain identifier 320. As an analogy, the blockchain domain name 310 of a blockchain instance is similar to a domain name according to the Domain Name System (DNS) of an Internet Protocol (IP) resource (e.g., example.com) and the chain identifier 320 is similar to the IP address of the IP resource in the IP network.

In some implementations, for a given blockchain domain name 310, its corresponding chain identifier 320 can be translated, resolved or otherwise identified using UBCDN look-up information that is cached or otherwise stored either locally, inside a querying computer, or remotely in the unified blockchain network (e.g., in a central UBCDN server). The UBCDN look-up information can include multiple UBCDN 300, each UBCDN 300 corresponding to multiple blockchain instances. The UBCDN look-up information can be stored, for example, in a look-up table or another data structure. One or more nodes (e.g., a client node, a consensus node, or a relay node) or a server in the unified blockchain network can store UBCDN look-up information. By searching based on UBCDN look-up information, a chain identifier 320 corresponding to a given blockchain domain name 310 can be identified, and vice versa.

When UBCDN information is cached locally, the UBCDN look-up process can be quicker than performing a remote UBCDN look-up, for example, at a remote UBCDN server. In some implementations, in the latter remote UBCDN look-up, a user inputs a blockchain domain name 310, e.g., “chain1. organization1” into an SDK of the computing device of the user (i.e., the client node). The client node sends a request or query that includes the blockchain domain name 310 “chain1. organization1” to a remote UBCDN server, for example, through the Internet off the chain. Upon receiving the request, the remote UBCDN server searches in the UBCDN look-up information for an entry matching the blockchain domain name 310 “chain1. organization1” and identifies the chain identifier 320 corresponding to the blockchain domain name 310. Then the remote UBCDN server responds to the client node with the chain identifier 320 corresponding to the blockchain domain name 310, for example, by sending a response including the chain identifier 320 corresponding to the blockchain domain name 310 to the client node.

FIG. 4 depicts an example UBCDN management scheme 400 in a unified blockchain network, in accordance with implementations of the present disclosure. The example UBCDN management scheme 400 can provide enhanced trust and security for cross-chain communications based on the UBCDN. In some implementations, the example UBCDN management scheme 400 relies on a public key infrastructure (PKI) to establish trust in the unified blockchain network.

For example, a certificate authority (CA) 410 (e.g., the operator of the PKI) can be used. The CA 410 issues a domain certificate (“Domain Cert”) 420 a, 420 b, and 420 c (collectively, domain certificate 420) to each owner of a UBCDN 430 a, 430 b, and 430 c (collectively, UBCDN owner 430). The UBCDN owner 430 can be, for example, an owner or operator of the blockchain instance. As illustrated, the UBCDN owner 430 a is an owner of a blockchain domain name “Example1.chain,” the UBCDN owner 430 b is an owner of a blockchain domain name “Example2.chain,” and the UBCDN owner 430 b is an owner of a blockchain domain name “ExampleN.chain.”

In some implementations, the UBCDN owner 430 can obtain a domain certificate 420 by applying to the CA 410 with a certificate signing request (not shown in FIG. 4). In some implementations, the certificate request is an electronic document that contains the blockchain domain name, information of the blockchain instance (e.g., the chain identifier or other network configurations), and a public key of the UBCDN owner 430. Upon verification that the UBCDN owner 430 has the right to administratively manage the blockchain domain name of the blockchain instance, the CA 410 can sign the request, thus producing a public domain certificate 420. In some implementations, the domain certificate 420 can be served to any node (e.g., a client node, a consensus node, or a relay node) that would like to access the underlying blockchain instance of the blockchain domain name (e.g., “Example1.chain”) and proves to the node that the CA 410 trusts and has issued a certificate to the UBCDN owner 430.

The domain certificate 420 can include a blockchain domain name (e.g., “Example1.chain”) and a public key of the UBCDN owner 430. The UBCDN owner 430 is the private key holder corresponding to the public key. The CA 410 can digitally sign the blockchain domain name and the public key of the UBCDN owner 430 using the CA's own private key. The domain certificate 420 can include the digital signature signed by the CA 410 on the blockchain domain name and the public key of the UBCDN owner 430.

As described with respect to FIG. 3, a UBCDN can include a blockchain domain name (e.g., “Example1.chain”) and a corresponding chain identifier. The UBCDN owner 430 can publish the UBCDN and sign the UBCDN using the private key of the UBCDN owner 430. In some implementations, the UBCDN owner 430 publishes one or more UBCDN messages (e.g., UBCDN messages 440 a, 450 a, 440) so that the UBCDN can be authenticated or verified.

In some implementations, the UBCDN messages 440 can include the UBCDN, a digital signature of the UBCDN resulting, and a domain certificate. The domain certificate can be the respective domain certificate 420 received from the CA 410. The UBCDN can include the blockchain domain name and the chain identifier (e.g., the blockchain domain name 310 and the chain identifier 320, as described with respect to FIG. 3). As illustrated, the UBCDN owner 430 a issues a UBCDN message 440 a that includes the blockchain domain name 442 a “Example1.chain” and a corresponding chain identifier 444 a “Chain Identifier V0,” a digital signature 446 a, and a domain certificate 448 a. The domain certificate 448 a can be the domain certificate 420 a issued by the CA 410 and received by the UBCDN owner 430 a from the CA 410. The digital signature 446 a can result from the UBCDN owner 430 a's signing of the UBCDN (that is, the blockchain domain name 442 a “Example1.chain” and a corresponding chain identifier 444 a “Chain Identifier V0” in this case) using the UBCDN owner 430 a's private key.

Similarly, the UBCDN owner 430 b issues a UBCDN message 440 b that includes the blockchain domain name 442 b “Example2.chain” and a corresponding chain identifier 444 b “Chain Identifier Vx,” a digital signature 446 b, and a domain certificate 448 b. The domain certificate 448 b can be the domain certificate 420 b issued by the CA 410 and received by the UBCDN owner 430 b from the CA 410. The digital signature 446 a can result from the UBCDN owner 430 b's signing of the UBCDN (that is, the blockchain domain name 442 b “Example2.chain” and a corresponding chain identifier 444 a “Chain Identifier V0” in this case) using the UBCDN owner 430 b's private key.

In some implementations, an authentication or verification process can be performed, for example, by any node in the unified blockchain network or a third party to verify the validity of a UBCDN based on the UBCDN message. This can ensure security that is important for electronic commerce, especially in connection with mobile payment transactions for cross-chain interactions in blockchain systems.

In some implementations, the authentication or verification process can include, for example, verifying that the blockchain domain name is the same as the blockchain domain name in the domain certificate; verifying that the UBCDN owner (e.g., the UBCDN owner 430 a) is the holder of the blockchain domain name (e.g., “the blockchain domain name 442 a “Example1.chain”) by verifying the digital signature on the UBCDN (e.g., the digital signature 446 a) using the public key in the domain certificate (e.g., the domain certificate 420 a) issued by the CA 410, and verifying that the domain certificate (e.g., the domain certificate 448 a) is issued by the trusted CA 410.

In some implementations, after verifying the validity of the UBCDN, for example, based on the authentication or verification process, a client node can use the UBCDN for cross-chain interactions in the unified blockchain network. For example, the client node can receive and read a UBCDN message, verify the validity or legality of UBCDN and confirm that the UBCDN is issued by the owner of the UBCDN; and then use the UBCDN to uniquely identify and access the blockchain instance, for example, by identifying the chain identifier corresponding to the blockchain domain name in the UBCDN.

FIG. 5 depicts an example process 500 for using a blockchain domain name of a blockchain instance for cross-chain interactions in a unified blockchain network, in accordance with implementations of the present disclosure. In some implementations, the example process 500 may be performed using one or more computer-executable programs executed using one or more computing devices. For clarity of presentation, the description that follows generally describes process 500 in the context of the other figures in this description. For example, the example process 500 can be executed by a client node of a first blockchain instance, such as, the computing system 106 or 108 of the consortium blockchain network 102 as described with respect to FIG. 1, or the node 214 of the blockchain network 212 as described with respect to FIG. 2. However, it will be understood that process 500 may be performed, for example, by any suitable system, environment, software, and hardware, or a combination of systems, environments, software, and hardware, as appropriate. In some implementations, various steps of process 500 can be run in parallel, in combination, in loops, or in any order.

At 510, a client node of a first blockchain instance obtains a blockchain domain name of a second, different blockchain instance. In some implementations, the first blockchain instance and the second blockchain instance are deployed based on different blockchain platforms. In some implementations, the first blockchain instance and the second blockchain instance belong to different owners or operators. The first blockchain instance and the second blockchain instance are in a unified blockchain network including a number of blockchain instances that are communicatively linked by two or more relays.

The blockchain domain name is a unique identifier of the second blockchain instance in the unified blockchain network, even though the unified blockchain network includes two or more relays. In some implementations, each of the number of blockchain instances in the unified blockchain network has only one blockchain domain name that uniquely identifies the each of the number of blockchain instances in the unified blockchain network.

The blockchain domain name includes a human-readable label. In some implementations, the human-readable label includes a text-based label. The blockchain domain name uniquely corresponds to a chain identifier of the second blockchain instance. The blockchain domain name and the chain identifier can be represented by a UBCDN such as UBCDN 300, as described in FIG. 3. As an example, the blockchain domain name can be the blockchain domain name 310, while the chain identifier can be the corresponding chain identifier 320 in the UBCDN 300.

At 520, the client node of the first blockchain instance identifies the chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance, wherein the chain identifier of the second blockchain instance indicates a blockchain network configuration of the second blockchain instance. In some implementations, the chain identifier of the second blockchain instance includes a hash value of a genesis block of the second blockchain instance and a network identifier of the second blockchain instance, for example, as described within respect to FIG. 3.

In some implementations, identifying the chain identifier of the second blockchain instance based on the blockchain domain name includes identifying the chain identifier of the second blockchain instance according to look-up information locally stored at the client node based on the blockchain domain name.

In some implementations, identifying the chain identifier of the second blockchain instance based on the blockchain domain name includes identifying the chain identifier of the second blockchain instance from a remote unified blockchain domain name server based on the blockchain domain name. For example, the client node of the first blockchain instance sends a request or query to the unified blockchain domain name server. The request includes the blockchain domain name for identifying the chain identifier of the second blockchain instance. Then the client node of the first blockchain instance receives, from the unified blockchain domain name server, a response to the request, wherein the response includes the chain identifier of the second blockchain instance.

At 530, the client node of the first blockchain instance accesses the second blockchain instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain instance. For example, the first blockchain instance accesses the second blockchain instance via a client node of the second blockchain instance based on the hash value of the genesis block of the second blockchain instance indicated by the chain identifier of the second blockchain instance. In some implementations, the first blockchain instance accesses the second blockchain instance via a client node of the second blockchain by using a relay (e.g., a relay node or a relay chain) or other application that that is communicatively linked to both the first blockchain instance and the second blockchain instance.

In some implementations, to access and obtain data from the second blockchain instance, the client node of the second blockchain instance can configure a network configuration such as an IP address and a port number of a node (e.g., a consensus node) of the second blockchain, and the hash value of the genesis block of the second blockchain instance. The client node of the second blockchain instance can connect to the node of the second blockchain instance through the IP address and the port number of the node of the second blockchain instance. The client node of the second blockchain instance can read, retrieve, download, or otherwise obtain the data of the node of the second blockchain instance and verify whether the obtained data come from the second blockchain instance, for example, based on a Simple Payment Verification (SPV) protocol of the second blockchain instance to determine whether the obtained data point to the hash value of the genesis block of the second blockchain instance.

At 540, the client node of the first blockchain instance performs cross-chain transactions between the first blockchain instance and the second blockchain instance based on the blockchain domain name of the second blockchain instance. In some implementations, performing cross-chain transactions between the first blockchain instance and the second blockchain instance includes sending, by the first blockchain instance, a cross-chain request that includes blockchain domain name of the second blockchain instance and a data request, to a relay that is communicatively linked to both the first blockchain instance and the second blockchain instance. The relay receives the cross-chain request and reads the blockchain domain name of the second blockchain instance, loads the corresponding blockchain network configuration of the second blockchain instance, uses the configuration to connect to the second blockchain instance. The rely can retrieve, download, or otherwise receive the requested data from the second blockchain instance, and send the requested data to the first blockchain instance.

FIG. 6 depicts an example process 600 for authenticating a UBCDN of a blockchain instance, in accordance with implementations of the present disclosure. In some implementations, the example process 600 may be performed using one or more computer-executable programs executed using one or more computing devices. For clarity of presentation, the description that follows generally describes process 600 in the context of the other figures in this description. For example, the example process 600 that can be executed by the computing system 106 or 108 of the consortium blockchain network 102, as described with respect to FIG. 1, or the node 214 of the blockchain network 212, as described with respect to FIG. 2. However, it will be understood that process 600 may be performed, for example, by any suitable system, environment, software, and hardware, or a combination of systems, environments, software, and hardware, as appropriate. In some implementations, various steps of process 600 can be run in parallel, in combination, in loops, or in any order.

At 610, a computing system obtains a unified blockchain domain name (UBCDN) message of a blockchain instance. In some implementations, the computing system is a third party of unified blockchain network. In some implementations, the computing system is a client node of a second blockchain instance different from the blockchain instance in the unified blockchain network.

The UBCDN message can be, for example, the UBCDN message 440 as described with respect to FIG. 4. The UBCDN message includes a UBCDN of the blockchain instance, a digital signature of an UBCDN owner on the UBCDN; and a domain certificate of the UBCDN.

The UBCDN of the blockchain instance includes a blockchain domain name of the blockchain instance, wherein the blockchain domain name is a unique identifier of the blockchain instance in a unified blockchain network including a number of blockchain instances that are communicatively linked by two or more relays. The blockchain domain name includes a human-readable label and a chain identifier of the blockchain instance uniquely corresponding to the blockchain domain name.

In some implementations, the domain certificate of the UBCDN includes the blockchain domain name of the blockchain instance, the public key of the UBCDN owner, and a digital signature of the CA on the blockchain domain name of the blockchain instance and the public key of the UBCDN owner.

At 620, the computing system verifies whether the domain certificate of the UBCDN is issued by a trusted certificate authority (CA) using a public key of the CA. In some implementations, the digital signature of the CA is obtained by the CA signing on the blockchain domain name of the blockchain instance and the public key of the UBCDN owner using a private key of the CA corresponding to the public key of the CA. In some implementations, verifying whether the domain certificate of the UBCDN is issued by a trusted CA using a public key of the CA includes verifying that the domain certificate of the UBCDN is issued by the CA using the domain certificate, the digital signature of the CA, and the public key of the CA.

At 630, in response to verifying that the domain certificate of the UBCDN is issued by the CA, the computing system verifies whether the UBCDN is issued by the UBCDN owner using a public key of the UBCDN owner. In some implementations, the digital signature of the owner of the UBCDN is obtained by the owner of the UBCDN singing the UBCDN using a private key corresponding to the public key of the owner of the UBCDN. In some implementations, verifying whether the UBCDN of the blockchain instance is issued by the UBCDN owner using a public key of the owner of the UBCDN includes verifying that the UBCDN is issued by the owner of the UBCDN using the UBCDN, the digital signature of the owner of the UBCDN, and the public key of the owner of the UBCDN. For example, the owner of the UBCDN can sign the UBCDN using the owner's private key and generate a digital signature, for example, according to a signing algorithm. The computing system as a recipient of the UBCDN message can determine whether the UBCDN is issued by the UBCDN owner using the UBCDN, the digital signature, and the public key of the owner, for example, according to a signature verifying algorithm.

At 640, in response to verifying that the UBCDN is issued by the UBCDN owner, the computing system performs cross-chain transactions between the blockchain instance and the second blockchain instance based on the blockchain domain name of the blockchain instance, for example, according to the example process 500 as described with respect to FIG. 5.

FIG. 7 depicts an example process 700 of an owner of a UBCDN of a blockchain instance (a UBCDN owner), in accordance with implementations of the present disclosure. In some implementations, the example process 700 may be performed using one or more computer-executable programs executed using one or more computing devices. For clarity of presentation, the description that follows generally describes process 700 in the context of the other figures in this description. For example, the example process 700 can be executed by the UBCDN owner 430 as described with respect to FIG. 4. However, it will be understood that process 700 may be performed, for example, by any suitable system, environment, software, and hardware, or a combination of systems, environments, software, and hardware, as appropriate. In some implementations, various steps of process 700 can be run in parallel, in combination, in loops, or in any order.

At 710, an owner of a UBCDN of a blockchain instance (a UBCDN owner, such as the UBCDN owner 430) obtains, from a trusted certificate authority (CA) (e.g., the CA 410), a domain certificate (e.g., the domain certificate 420) of the UBCDN of the blockchain instance. The UBCDN of the blockchain instance includes a blockchain domain name of the blockchain instance and a chain identifier of the blockchain instance uniquely corresponding to the blockchain domain name. The UBCDN can be, for example, the UBCDN 300, as described with respect to FIG. 3. The blockchain domain name is a unique identifier of the blockchain instance in a unified blockchain network including a number of blockchain instances that are communicatively linked by two or more relays. In some implementations, the blockchain domain name includes a human-readable label. The chain identifier indicates a blockchain network configuration of the blockchain instance.

The domain certificate of the UBCDN includes the blockchain domain name of the blockchain instance, a public key of the UBCDN owner, and a digital signature of the CA on the blockchain domain name of the blockchain instance and the public key of the UBCDN owner. The domain certificate of the UBCDN can be, for example, the domain certificate 420, as described with respect to FIG. 4.

At 720, the UBCDN owner signs the UBCDN of the blockchain instance, for example, using the private key of the UBCDN owner, for example, according to a signing algorithm.

At 730, the UBCDN owner publishes a UBCDN message (e.g., the UBCDN message 440 a or 440 b) of the blockchain instance. The UBCDN message includes the UBCDN of the blockchain instance, a digital signature of the UBCDN owner resulting from the signing the UBCDN, and the domain certificate of the UBCDN.

At 740, the UBCDN owner identifies an updated chain identifier of the blockchain instance indicating an updated blockchain network configuration of the blockchain instance. For example, a change or update of the blockchain network configuration of the blockchain instance can occur (e.g., due to system update or move of the physical location of one or more computing device such as the genesis block). The chain identifier can be updated to reflect the update of the blockchain network configuration of the blockchain instance (e.g., by updating the hash value of the genesis block of the blockchain instance). For example, as illustrated in FIG. 4, for the same blockchain domain name 442 a “Example1.chain,” the chain identifier 444 a “Chain Identifier V0” has been updated to a chain identifier 454 a “Chain Identifier V1”, to reflect the change of the blockchain network configuration of the blockchain instance.

At 750, the UBCDN owner signs an updated UBCDN of the blockchain instance, for example, using the private key of the UBCDN owner. The updated UBCDN of the blockchain instance includes the blockchain domain name of the blockchain instance and the updated chain identifier of the blockchain instance. For example, as illustrated in FIG. 4, the updated UBCDN of the blockchain instance includes the same blockchain domain name 442 a “Example1.chain” and the updated chain identifier 454 a “Chain Identifier V1.”

At 760, the UBCDN owner publishes an updated UBCDN message of the blockchain instance. The updated UBCDN message includes the updated UBCDN of the blockchain instance, an updated digital signature of the UBCDN owner resulting from the signing the updated UBCDN, and the domain certificate of the UBCDN. For example, as illustrated in FIG. 4, the UBCDN owner 430 a issues an updated UBCDN messages 450 a that includes the blockchain domain name 442 a “Example1.chain” and the updated chain identifier 454 a “Chain Identifier V1,” a digital signature 456 a, and a domain certificate 458 a. The domain certificate 458 a can be the domain certificate 420 a issued by the CA 410 and received by the UBCDN owner 430 a from the CA 410. The updated digital signature 456 a can result from the UBCDN owner 430 a's signing of the updated UBCDN (that is, the blockchain domain name 442 a “Example1.chain” and the updated chain identifier 454 a “Chain Identifier V0” in this case) using the UBCDN owner 430 a's private key.

FIG. 8 depicts an example process 800 of a relay for cross-chain interactions in a unified blockchain network, in accordance with implementations of the present disclosure. The unified blockchain network includes a number of blockchain instances that are communicatively linked by two or more relays. In some implementations, the example process 800 may be performed using one or more computer-executable programs executed using one or more computing devices. For clarity of presentation, the description that follows generally describes process 800 in the context of the other figures in this description. For example, the example process 800 that can be executed by the relay in a unified blockchain network. However, it will be understood that process 800 may be performed, for example, by any suitable system, environment, software, and hardware, or a combination of systems, environments, software, and hardware, as appropriate. For example, the relay can be a node (e.g., the computing system 106 or 108 as described with respect to FIG. 1 or the node 214 as described with respect to FIG. 2), a blockchain instance (e.g., a blockchain network 102 or the blockchain network 212), or another computer system in the unified blockchain network. In some implementations, various steps of process 800 can be run in parallel, in combination, in loops, or in any order.

At 810, the relay that is communicatively linked with a first blockchain instance and a second blockchain instance in the unified blockchain network identifies a blockchain domain name of a first blockchain instance. The blockchain domain name of the first blockchain instance is a unique identifier of the first blockchain instance and uniquely corresponds to a chain identifier of the first blockchain instance in the unified blockchain network. In some implementations, the blockchain domain name of the first blockchain instance includes a first human-readable label.

At 820, the relay identifies a blockchain domain name of the second blockchain instance. The blockchain domain name of the second blockchain instance is a unique identifier of the second blockchain instance and uniquely corresponds to a chain identifier of the second blockchain instance in the unified blockchain network. In some implementations, the blockchain domain name of the second blockchain instance includes a second human-readable label.

In some implementations, a relay can designate a local identifier for each blockchain that is communicatively linked. The local identifier is designated for the use of the relay and cannot be used by other nodes or relays in the unified blockchain network. In some implementations, identifying a blockchain domain name of the first blockchain instance includes using the blockchain domain name of the first blockchain instance as the local identifier of the first blockchain instance or replacing the local identifier of the first blockchain instance with the blockchain domain name of the first blockchain instance. Similarly, identifying a blockchain domain name of the second blockchain instance includes using the blockchain domain name of the second blockchain instance as the local identifier of the second blockchain instance or replacing the unique identifier of the second blockchain instance with the blockchain domain name of the second blockchain instance.

At 830, the relay receives an access request for accessing the second blockchain instance. The access request includes the blockchain domain name of the second blockchain instance.

At 840, the relay identifies the chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance. The chain identifier of the second blockchain instance indicates a blockchain network configuration of the second blockchain instance.

In some implementations, identifying the chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance includes identifying the chain identifier of the second blockchain instance according to look-up information locally stored at the relay based on the blockchain domain name.

In some implementations, identifying the chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance includes identifying the chain identifier of the second blockchain instance based on the blockchain domain name of the second blockchain instance from a remote unified blockchain domain name server.

At 850, the relay provides access to the second blockchain instance for the first blockchain instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain instance. In some implementations, the relay provides access to the second blockchain instance for the first blockchain instance according to a communication protocol designed for cross-chain interactions. For example, the relay can load the blockchain network configuration indicated by the chain identifier of the second blockchain instance corresponding to the blockchain domain name of the second blockchain instance. The relay uses the blockchain network configuration to connect to the second blockchain instance, obtains a result requested by the first blockchain instance from the second blockchain instance, and returns the result requested by the first blockchain instance to the first blockchain instance, for example, according the example techniques described with respect to FIG. 5.

In some implementations, providing, by the relay, access to the second blockchain instance for the first blockchain instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain instance includes providing, by the relay, access to the second blockchain instance for the first blockchain instance via a second relay.

In some implementations, the blockchain network configuration indicated by the chain identifier of the second blockchain instance is identified by the second relay based on the same chain identifier of the second blockchain instance. In some implementations, the second blockchain instance is accessed by the second relay based on the blockchain network configuration indicated by the chain identifier of the second blockchain instance. In other words, the first blockchain instance can use the same domain name of the second blockchain instance, regardless of which relay is, or how many relays are, used to interact with the second blockchain instance.

In some implementations, the blockchain network configuration indicated by the chain identifier of the second blockchain instance is identified by the second relay according to look-up information locally stored at the second relay based on the same chain identifier of the second blockchain instance.

In some implementations, the blockchain network configuration indicated by the chain identifier of the second blockchain instance is identified by the second relay based on the blockchain domain name of the second blockchain instance from a remote unified blockchain domain name server.

The features described may be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. The apparatus may be implemented in a computer program product tangibly embodied in an information carrier (e.g., in a machine-readable storage device) for execution by a programmable processor; and method steps may be performed by a programmable processor executing a program of instructions to perform functions of the described implementations by operating on input data and generating output. The described features may be implemented advantageously in one or more computer programs that are executable on a programmable system including at least one programmable processor coupled to receive data and instructions from, and to transmit data and instructions to, a data storage system, at least one input device, and at least one output device. A computer program is a set of instructions that may be used, directly or indirectly, in a computer to perform a certain activity or bring about a certain result. A computer program may be written in any form of programming language, including compiled or interpreted languages, and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

Suitable processors for the execution of a program of instructions include, by way of example, both general and special purpose microprocessors, and the sole processor or one of multiple processors of any kind of computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. Elements of a computer may include a processor for executing instructions and one or more memories for storing instructions and data. Generally, a computer may also include, or be operatively coupled to communicate with, one or more mass storage devices for storing data files; such devices include magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory may be supplemented by, or incorporated in, application-specific integrated circuits (ASICs).

To provide for interaction with a user, the features may be implemented on a computer having a display device such as a cathode ray tube (CRT) or liquid crystal display (LCD) monitor for displaying information to the user and a keyboard and a pointing device such as a mouse or a trackball by which the user may provide input to the computer.

The features may be implemented in a computer system that includes a back-end component, such as a data server, or that includes a middleware component, such as an application server or an Internet server, or that includes a front-end component, such as a client computer having a graphical user interface or an Internet browser, or any combination of them. The components of the system may be connected by any form or medium of digital data communication such as a communication network. Examples of communication networks include, e.g., a local area network (LAN), a wide area network (WAN), and the computers and networks forming the Internet.

The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a network, such as the described one. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

In addition, the logic flows depicted in the figures do not require the particular order shown, or sequential order, to achieve desirable results. In addition, other steps may be provided, or steps may be eliminated, from the described flows, and other components may be added to, or removed from, the described systems. Accordingly, other implementations are within the scope of the following claims.

A number of implementations of the present disclosure have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the present disclosure. Accordingly, other implementations are within the scope of the following claims. 

What is claimed is:
 1. A computer-implemented method of a relay for cross-chain interactions in a unified blockchain network comprising a plurality of blockchain network instances that are communicatively linked by two or more relays, wherein each of the plurality of blockchain network instances comprises an implementation of a blockchain network based on a respective blockchain platform or technology, the each of the plurality of blockchain network instances has a unique blockchain domain name that is recognizable by the two or more relays and uniquely corresponds to a respective chain identifier of the each of the plurality of blockchain network instances in the unified blockchain network, the method comprising: receiving, from a first blockchain network instance and by the relay that is communicatively linked with the first blockchain network instance and a second blockchain network instance in the unified blockchain network, an access request for accessing the second blockchain network instance, wherein the access request comprises a blockchain domain name of the second blockchain network instance, wherein the blockchain domain name of the second blockchain network instance is a unique identifier that is recognizable by the two or more relays and uniquely corresponds to a chain identifier of the second blockchain network instance among the plurality of blockchain network instances in the unified blockchain network, wherein the blockchain domain name of the second blockchain network instance remains the same after a change or update of the second blockchain network instance; identifying, by the relay, the chain identifier of the second blockchain network instance based on the blockchain domain name of the second blockchain network instance, wherein the chain identifier of the second blockchain network instance indicates a blockchain network configuration of the second blockchain network instance; providing, by the relay, access to the second blockchain network instance for the first blockchain network instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance; and wherein: the second blockchain network instance is designated, by the relay, a local identifier of the second blockchain network instance for use by the relay; and the method further comprises using the blockchain domain name of the second blockchain network instance as the local identifier of the second blockchain network instance or replacing the local identifier of the second blockchain network instance with the blockchain domain name of the second blockchain network instance.
 2. The method of claim 1, wherein the blockchain domain name of the second blockchain network instance is authenticated based on a domain certificate of the blockchain domain name of the second blockchain network instance, wherein the domain certificate of the blockchain domain name of the second blockchain network instance comprises: the blockchain domain name of the second blockchain network instance, a public key of an owner of the blockchain domain name of the second blockchain network instance, and a digital signature of a certificate authority on the blockchain domain name of the second blockchain network instance and the public key of the owner of the blockchain domain name of the second blockchain network instance.
 3. The method of claim 1, wherein providing, by the relay, access to the second blockchain network instance for the first blockchain network instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance comprises: loading the blockchain network configuration indicated by the chain identifier of the second blockchain network instance corresponding to the blockchain domain name of the second blockchain network instance; using the blockchain network configuration to connect to the second blockchain network instance; obtaining a result requested by the first blockchain network instance from the second blockchain network instance; and returning the result requested by the first blockchain network instance to the first blockchain network instance.
 4. The method of claim 1, wherein providing, by the relay, access to the second blockchain network instance for the first blockchain network instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance comprises: providing, by the relay, access to the second blockchain network instance for the first blockchain network instance via a second relay; wherein the blockchain network configuration indicated by the chain identifier of the second blockchain network instance is identified by the second relay based on the same chain identifier of the second blockchain network instance; and wherein the second blockchain network instance is accessed by the second relay based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance.
 5. The method of claim 4, wherein the blockchain network configuration indicated by the chain identifier of the second blockchain network instance is identified by the second relay according to look-up information locally stored at the second relay or from a remote unified blockchain domain name server based on the same chain identifier of the second blockchain network instance.
 6. The method of claim 1, wherein, after the change or update of the second blockchain network instance, the chain identifier of the second blockchain network instance is changed to an updated chain identifier while the blockchain domain name of the second blockchain network instance remain the same, and wherein the updated chain identifier of the second blockchain network instance indicates an updated blockchain network configuration of the second blockchain network instance due to the change or update of the second blockchain network instance.
 7. The method of claim 6, further comprising: after the change or update of the second blockchain network instance, receiving, from the first blockchain network instance and by the relay, a second access request for accessing the second blockchain network instance, wherein the access request comprising the blockchain domain name of the second blockchain network instance, identifying, by the relay, the updated chain identifier of the second blockchain network instance based on the blockchain domain name of the second blockchain network instance; and providing, by the relay, updated access to the second blockchain network instance for the first blockchain network instance based on the updated blockchain network configuration indicated by the updated chain identifier of the second blockchain network instance.
 8. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations of a relay for cross-chain interactions in a unified blockchain network comprising a plurality of blockchain network instances that are communicatively linked by two or more relays, wherein each of the plurality of blockchain network instances comprises an implementation of a blockchain network based on a respective blockchain platform or technology, the each of the plurality of blockchain network instances has a unique blockchain domain name that is recognizable by the two or more relays and uniquely corresponds to a respective chain identifier of the each of the plurality of blockchain network instances in the unified blockchain network, the operations comprising: receiving, from a first blockchain network instance and by the relay that is communicatively linked with the first blockchain network instance and a second blockchain network instance in the unified blockchain network, an access request for accessing the second blockchain network instance, wherein the access request comprising a blockchain domain name of the second blockchain network instance, wherein the blockchain domain name of the second blockchain network instance is a unique identifier that is recognizable by the two or more relays and uniquely corresponds to a chain identifier of the second blockchain network instance among the plurality of blockchain network instances in the unified blockchain network, wherein the blockchain domain name of the second blockchain network instance remains the same after a change or update of the second blockchain network instance; identifying, by the relay, the chain identifier of the second blockchain network instance based on the blockchain domain name of the second blockchain network instance, wherein the chain identifier of the second blockchain network instance indicates a blockchain network configuration of the second blockchain network instance; providing, by the relay, access to the second blockchain network instance for the first blockchain network instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance; and wherein: the second blockchain network instance is designated, by the relay, a local identifier of the second blockchain network instance for use by the relay; and the operations further comprise using the blockchain domain name of the second blockchain network instance as the local identifier of the second blockchain network instance or replacing the local identifier of the second blockchain network instance with the blockchain domain name of the second blockchain network instance.
 9. The non-transitory, computer-readable medium of claim 8, wherein the blockchain domain name of the second blockchain network instance is authenticated based on a domain certificate of the blockchain domain name of the second blockchain network instance, wherein the domain certificate of the blockchain domain name of the second blockchain network instance comprises: the blockchain domain name of the second blockchain network instance, a public key of an owner of the blockchain domain name of the second blockchain network instance, and a digital signature of a certificate authority on the blockchain domain name of the second blockchain network instance and the public key of the owner of the blockchain domain name of the second blockchain network instance.
 10. The non-transitory, computer-readable medium of claim 8, wherein providing, by the relay, access to the second blockchain network instance for the first blockchain network instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance comprises: loading the blockchain network configuration indicated by the chain identifier of the second blockchain network instance corresponding to the blockchain domain name of the second blockchain network instance; using the blockchain network configuration to connect to the second blockchain network instance; obtaining a result requested by the first blockchain network instance from the second blockchain network instance; and returning the result requested by the first blockchain network instance to the first blockchain network instance.
 11. The non-transitory, computer-readable medium of claim 8, wherein providing, by the relay, access to the second blockchain network instance for the first blockchain network instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance comprises: providing, by the relay, access to the second blockchain network instance for the first blockchain network instance via a second relay; wherein the blockchain network configuration indicated by the chain identifier of the second blockchain network instance is identified by the second relay based on the same chain identifier of the second blockchain network instance; and wherein the second blockchain network instance is accessed by the second relay based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance.
 12. The non-transitory, computer-readable medium of claim 11, wherein the blockchain network configuration indicated by the chain identifier of the second blockchain network instance is identified by the second relay according to look-up information locally stored at the second relay or from a remote unified blockchain domain name server based on the same chain identifier of the second blockchain network instance.
 13. The non-transitory, computer-readable medium of claim 8, wherein, after the change or update of the second blockchain network instance, the chain identifier of the second blockchain network instance is changed to an updated chain identifier while the blockchain domain name of the second blockchain network instance remain the same, and wherein the updated chain identifier of the second blockchain network instance indicates an updated blockchain network configuration of the second blockchain network instance due to the change or update of the second blockchain network instance.
 14. The non-transitory, computer-readable medium of claim 13, wherein the operations further comprise: after the change or update of the second blockchain network instance, receiving, from the first blockchain network instance and by the relay, a second access request for accessing the second blockchain network instance, wherein the access request comprising the blockchain domain name of the second blockchain network instance, identifying, by the relay, the updated chain identifier of the second blockchain network instance based on the blockchain domain name of the second blockchain network instance; and providing, by the relay, updated access to the second blockchain network instance for the first blockchain network instance based on the updated blockchain network configuration indicated by the updated chain identifier of the second blockchain network instance.
 15. A system for cross-chain interactions by a relay in a unified blockchain network comprising a plurality of blockchain network instances that are communicatively linked by two or more relays, wherein each of the plurality of blockchain network instances comprises an implementation of a blockchain network based on a respective blockchain platform or technology, the each of the plurality of blockchain network instances has a unique blockchain domain name that is recognizable by the two or more relays and uniquely corresponds to a respective chain identifier of the each of the plurality of blockchain network instances in the unified blockchain network, the system comprising: one or more computers; and one or more computer-readable memories coupled to the one or more computers and having instructions stored thereon which are executable by the one or more computers to perform operations comprising: receiving, from a first blockchain network instance and by the relay that is communicatively linked with the first blockchain network instance and a second blockchain network instance in the unified blockchain network, an access request for accessing the second blockchain network instance, wherein the access request comprises a blockchain domain name of the second blockchain network instance, wherein the blockchain domain name of the second blockchain network instance is a unique identifier that is recognizable by the two or more relays and uniquely corresponds to a chain identifier of the second blockchain network instance among the plurality of blockchain network instances in the unified blockchain network, wherein the blockchain domain name of the second blockchain network instance remains the same after a change or update of the second blockchain network instance; identifying, by the relay, the chain identifier of the second blockchain network instance based on the blockchain domain name of the second blockchain network instance, wherein the chain identifier of the second blockchain network instance indicates a blockchain network configuration of the second blockchain network instance; providing, by the relay, access to the second blockchain network instance for the first blockchain network instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance; and wherein: the second blockchain network instance is designated, by the relay, a local identifier of the second blockchain network instance for use by the relay, and the operations further comprise using the blockchain domain name of the second blockchain network instance as the local identifier of the second blockchain network instance or replacing the local identifier of the second blockchain network instance with the blockchain domain name of the second blockchain network instance.
 16. The system of claim 15, wherein the blockchain domain name of the second blockchain network instance is authenticated based on a domain certificate of the blockchain domain name of the second blockchain network instance, wherein the domain certificate of the blockchain domain name of the second blockchain network instance comprises: the blockchain domain name of the second blockchain network instance, a public key of an owner of the blockchain domain name of the second blockchain network instance, and a digital signature of a certificate authority on the blockchain domain name of the second blockchain network instance and the public key of the owner of the blockchain domain name of the second blockchain network instance.
 17. The system of claim 15, wherein providing, by the relay, access to the second blockchain network instance for the first blockchain network instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance comprises: loading the blockchain network configuration indicated by the chain identifier of the second blockchain network instance corresponding to the blockchain domain name of the second blockchain network instance; using the blockchain network configuration to connect to the second blockchain network instance; obtaining a result requested by the first blockchain network instance from the second blockchain network instance; and returning the result requested by the first blockchain network instance to the first blockchain network instance.
 18. The system of claim 15, wherein providing, by the relay, access to the second blockchain network instance for the first blockchain network instance based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance comprises: providing, by the relay, access to the second blockchain network instance for the first blockchain network instance via a second relay; wherein the blockchain network configuration indicated by the chain identifier of the second blockchain network instance is identified by the second relay based on the same chain identifier of the second blockchain network instance; and wherein the second blockchain network instance is accessed by the second relay based on the blockchain network configuration indicated by the chain identifier of the second blockchain network instance.
 19. The system of claim 18, wherein the blockchain network configuration indicated by the chain identifier of the second blockchain network instance is identified by the second relay according to look-up information locally stored at the second relay or from a remote unified blockchain domain name server based on the same chain identifier of the second blockchain network instance.
 20. The system of claim 15, wherein, after the change or update of the second blockchain network instance, the chain identifier of the second blockchain network instance is changed to an updated chain identifier while the blockchain domain name of the second blockchain network instance remain the same, and wherein the updated chain identifier of the second blockchain network instance indicates an updated blockchain network configuration of the second blockchain network instance due to the change or update of the second blockchain network instance.
 21. The system of claim 20, wherein the operations further comprise: after the change or update of the second blockchain network instance, receiving, from the first blockchain network instance and by the relay, a second access request for accessing the second blockchain network instance, wherein the access request comprising the blockchain domain name of the second blockchain network instance, identifying, by the relay, the updated chain identifier of the second blockchain network instance based on the blockchain domain name of the second blockchain network instance; and providing, by the relay, updated access to the second blockchain network instance for the first blockchain network instance based on the updated blockchain network configuration indicated by the updated chain identifier of the second blockchain network instance. 